<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <title>
            <?php echo __('Maxsimous And Domadeos') ?> 
            <?php include_slot('title') ?>
        </title>
        <link rel="shortcut icon" href="/images/test.jpeg" />
        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>
        <script language="javascript" type="text/javascript">
            var  i18n = {
                "success":"<?php echo __('Success') ?>",
                'error':"<?php echo __('Error'); ?>",
                'inform':"<?php echo __('Information'); ?>",
                'worning':"<?php echo __('Worning') ?>",
                "Loading data":"<?php echo __('Loading data') ?>",
                "Please wait":"<?php echo __('Please wait') ?>"

            }
<?php if (has_slot('i18n')): ?>
        var i18 = <?php include_slot('i18n') ?>
        i18n = merge_options(i18n,i18)
<?php endif; ?>
    function __(key) 
    {
        var word;
        if(i18n[key])
        {
            word = i18n[key]
        }
        else
        {
            word = key
        }
        return word;
    }
    function clearText(field)
    {
        if (field.defaultValue == field.value) field.value = '';
        else if (field.value == '') field.value = field.defaultValue;
    }
        </script>

    </head>
    <body>
        <div id="templatemo_wrapper">	
            <div id="templatemo_site_title_bar">

                <div id="site_title">
                    <h1>
                        <a href ="<?php echo url_for('/') ?>" target="_parent">
                            <img src="/images/229/logo.png" alt="Light Space" />
                            <!-- <span>free css templates</span> -->
                        </a>
                    </h1>
                </div>

                <ul class="social_network">
                    <li><a href="http://www.facebook.com/templatemo" target="_parent"><img src="/images/229/facebook_icon.png" alt="facebook" /></a></li>
                    <li><a href="http://www.facebook.com/templatemo" target="_parent"><img src="/images/229/linkin_icon.png" alt="linkin" /></a></li>	
                    <li><a href="http://www.facebook.com/templatemo" target="_parent"><img src="/images/229/twitter_icon.png" alt="twitter" /></a></li>
                </ul>

            </div> <!-- end of templatemo_site_title_bar -->

            <div id="templatemo_menu">

                <ul>
                    <li><a class="<?php ?>" href="contact.html"></a></li>
                    <?php $currentModule = $sf_context->getModuleName(); ?>
                    <?php if ($sf_user->isAuthenticated()): ?>
                        <li><a href="<?php echo url_for('Logout') ?>"> <?php echo __('logout') ?></a> </li>
                        <li><a href="<?php echo url_for('ShowMyJobs') ?>"> <?php echo __('Show My Jobs') ?></a> </li>
                        <?php if ($sf_user->getAttribute('MaxUser')->getCompany()): ?>
                            <li><a href="<?php echo url_for('EditCompany') ?>"> <?php echo __('Edit company') ?></a> </li>
                        <?php else: ?>
                            <li><a href="<?php echo url_for('AddCompany') ?>"> <?php echo __('Add company') ?></a> </li>
                        <?php endif ?>
                    <?php else: ?>
                        <li><a class="<?php echo $currentModule == 'login' ? 'current' : '' ?>" href="<?php echo url_for('Login') ?>"><?php echo __('Login') ?></a></li>
                        <li><a class="<?php echo $currentModule == 'register' ? 'current' : '' ?>" href="<?php echo url_for('Register') ?>"><?php echo __('Register') ?></a></li>
                    <?php endif; ?>
                    <li><a class="<?php echo $currentModule == 'job' ? 'current' : '' ?>" href="<?php echo url_for('AddJob') ?>"><?php echo __('add job') ?></a></li>
                    <li><a class="<?php echo $currentModule == 'job_request' ? 'current' : '' ?>" href="<?php echo url_for('AddJobRequest') ?>"><?php echo __('add job request') ?></a></li>

                    <li><a class="last <?php echo $currentModule == 'home' ? 'current' : '' ?>" href="<?php echo url_for('home/index') ?>"><?php echo __('Home') ?></a></li>

                </ul>    	

            </div> <!-- end of templatemo_menu -->

            <div id="templatemo_search">

                <div id="search_box">
                    <form action="#" method="get">
                        <input type="text" value="Enter a keyword..." name="q" size="10" id="searchfield" title="searchfield" onfocus="clearText(this)" onblur="clearText(this)" />
                        <input type="submit" name="Search" value="" alt="Search" id="searchbutton" title="Search" />
                    </form>
                </div>

            </div> <!-- end of search -->

            <div id="templatemo_banner">

                <div id="banner_left">

                    <h2><?php echo __('Maxsimous And Domadeos site for new jobs') ?></h2>
                    <p><?php echo __('Here you can add new job or request new job') ?> </p>
                    <div class="cleaner_h20"></div>
                    <div class="button_01"><a href="#">More</a></div>

                </div>

                <div id="banner_right">

                    <div class="banner_button">
                        <a href="<?php echo url_for('@SearchJobs') ?>"><?php echo __('Search Jobs') ?></a>
                    </div>

                    <div class="banner_button">
                        <a href="<?php echo url_for('@SearchJobsRequest') ?>"><?php echo __('Search Jobs Requests') ?></a>
                    </div>



                </div>

            </div> <!-- end of templatemo_banner -->

            <div id="templatemo_content_top">
                <div class="content">
                    <?php include_slot('title') ?>
                </div>
            </div>
            <div id="templatemo_content">
                <?php include_partial('global/messages') ?>
                <?php echo $sf_content ?>
            </div>
            <div id="templatemo_content_bottom"></div>

            <div id="templatemo_footer">


                <div class="section_w240">

                    <h3>Partners</h3>

                    <div class="sub_content">

                        <ul class="footer_list">
                            <li><a href="http://www.templatemo.com" target="_parent">Website Templates</a></li>
                            <li><a href="http://www.flashmo.com" target="_parent">Free Flash Files</a></li>
                            <li><a href="http://www.flashmo.com/store" target="_parent">Premium Store</a></li>
                            <li><a href="http://www.webdesignmo.com/blog" target="_parent">Web Design Blog</a></li>
                            <li><a href="http://www.koflash.com">Flash Websites Gallery</a></li>               
                        </ul>

                    </div>

                </div>

                <div class="section_w240">

                    <h3>Cool Links</h3>

                    <div class="sub_content">

                        <ul class="footer_list">
                            <li><a href="#">Lorem ipsum dolor</a></li>
                            <li><a href="#">Cum sociis</a></li>
                            <li><a href="#">Donec quam</a></li>
                            <li><a href="#">Nulla consequat</a></li>
                            <li><a href="#">In enim justo</a></li>
                        </ul>

                    </div>

                </div>

                <div class="section_w240">

                    <h3>About Light Space</h3>

                    <div class="sub_content">
                        <p>Nullam ultrices tempor nisi, ac egestas diam aliquam a. Ut eleifend <a href="#">semper</a> turpis, id feugiat arcu dignissim eu. Donec <a href="#">mattis</a> adipiscing imperdiet.</p>
                    </div>

                </div>

                <div class="section_w240">

                    <h3>Testimonials</h3>

                    <div class="sub_content">
                        <p>" Aliquam vehicula accumsan arcu, vestibulum cursus purus lobortis eu. Pellentesque vitae neque non lorem vehicula adipiscing."</p>
                        <a href="#"> - Templatemo </a>
                    </div>

                </div>

                <div class="cleaner_h40"></div>

                <center>
                    Copyright © 2048 <a href="#">Your Company Name</a> | 
                    Designed by <a href="http://www.templatemo.com" target="_parent">Free CSS Templates</a> | 
                    Validate <a href="http://validator.w3.org/check?uri=referer">XHTML</a> &amp; 
                    <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
                </center>

            </div> <!-- end of footer -->
        </div> <!-- end of wrapper -->
    </body>
</html>
